package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.EmpEarlyWarnResult;

import java.util.List;

/**
 * 预警结果Service接口
 *
 * @author zsl
 * @date 2024-04-15
 */
public interface IEmpEarlyWarnResultService extends IService<EmpEarlyWarnResult> {
    /**
     * 查询预警结果
     *
     * @param id 预警结果主键
     * @return 预警结果
     */
    public EmpEarlyWarnResult selectEmpEarlyWarnResultById(Long id);

    /**
     * 查询预警结果列表
     *
     * @param empEarlyWarnResult 预警结果
     * @return 预警结果集合
     */
    public List<EmpEarlyWarnResult> selectEmpEarlyWarnResultList(EmpEarlyWarnResult empEarlyWarnResult);

    /**
     * 新增预警结果
     *
     * @param empEarlyWarnResult 预警结果
     * @return 结果
     */
    public int insertEmpEarlyWarnResult(EmpEarlyWarnResult empEarlyWarnResult);

    /**
     * 修改预警结果
     *
     * @param empEarlyWarnResult 预警结果
     * @return 结果
     */
    public int updateEmpEarlyWarnResult(EmpEarlyWarnResult empEarlyWarnResult);

    /**
     * 批量删除预警结果
     *
     * @param ids 需要删除的预警结果主键集合
     * @return 结果
     */
    public int deleteEmpEarlyWarnResultByIds(Long[] ids);

    /**
     * 删除预警结果信息
     *
     * @param id 预警结果主键
     * @return 结果
     */
    public int deleteEmpEarlyWarnResultById(Long id);

    String importEmpEarlyWarnResult(List<EmpEarlyWarnResult> userList, Boolean isUpdateSupport, String operName);
}
